import { post } from '@/utils/http'
import config from '@/config/api'

/**
 * 用户登录请求
 * @param {object} userData {username:'手机号',password:'abc'}
 * @returns Promise
 */
export const doLoginApi = userData => post(config.login, userData)
